package app.itgungnir.compose.wan.utils

import android.util.Log
import app.itgungnir.compose.wan.BuildConfig

fun log(message: String, tag: String = "---->>") {
    if (BuildConfig.DEBUG) {
        Log.e(tag, "---->>$message")
    }
}

fun logJson(data: Any) {
    log(jsonParser.toJson(data))
}
